/**
 * This file is part of mycollab-services.
 *
 * mycollab-services is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * mycollab-services is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with mycollab-services.  If not, see <http://www.gnu.org/licenses/>.
 */
package com.mycollab.module.user.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@SuppressWarnings("ucd")
public class UserExample {
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table s_user
     *
     * @mbg.generated Sun Dec 25 21:29:52 ICT 2016
     */
    protected String orderByClause;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table s_user
     *
     * @mbg.generated Sun Dec 25 21:29:52 ICT 2016
     */
    protected boolean distinct;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table s_user
     *
     * @mbg.generated Sun Dec 25 21:29:52 ICT 2016
     */
    protected List<Criteria> oredCriteria;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table s_user
     *
     * @mbg.generated Sun Dec 25 21:29:52 ICT 2016
     */
    public UserExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table s_user
     *
     * @mbg.generated Sun Dec 25 21:29:52 ICT 2016
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table s_user
     *
     * @mbg.generated Sun Dec 25 21:29:52 ICT 2016
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table s_user
     *
     * @mbg.generated Sun Dec 25 21:29:52 ICT 2016
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table s_user
     *
     * @mbg.generated Sun Dec 25 21:29:52 ICT 2016
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table s_user
     *
     * @mbg.generated Sun Dec 25 21:29:52 ICT 2016
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table s_user
     *
     * @mbg.generated Sun Dec 25 21:29:52 ICT 2016
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table s_user
     *
     * @mbg.generated Sun Dec 25 21:29:52 ICT 2016
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table s_user
     *
     * @mbg.generated Sun Dec 25 21:29:52 ICT 2016
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table s_user
     *
     * @mbg.generated Sun Dec 25 21:29:52 ICT 2016
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table s_user
     *
     * @mbg.generated Sun Dec 25 21:29:52 ICT 2016
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table s_user
     *
     * @mbg.generated Sun Dec 25 21:29:52 ICT 2016
     */
    @SuppressWarnings("ucd")
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUsernameIsNull() {
            addCriterion("username is null");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNotNull() {
            addCriterion("username is not null");
            return (Criteria) this;
        }

        public Criteria andUsernameEqualTo(String value) {
            addCriterion("username =", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotEqualTo(String value) {
            addCriterion("username <>", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThan(String value) {
            addCriterion("username >", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThanOrEqualTo(String value) {
            addCriterion("username >=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThan(String value) {
            addCriterion("username <", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThanOrEqualTo(String value) {
            addCriterion("username <=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLike(String value) {
            addCriterion("username like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotLike(String value) {
            addCriterion("username not like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameIn(List<String> values) {
            addCriterion("username in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotIn(List<String> values) {
            addCriterion("username not in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameBetween(String value1, String value2) {
            addCriterion("username between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotBetween(String value1, String value2) {
            addCriterion("username not between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andFirstnameIsNull() {
            addCriterion("firstname is null");
            return (Criteria) this;
        }

        public Criteria andFirstnameIsNotNull() {
            addCriterion("firstname is not null");
            return (Criteria) this;
        }

        public Criteria andFirstnameEqualTo(String value) {
            addCriterion("firstname =", value, "firstname");
            return (Criteria) this;
        }

        public Criteria andFirstnameNotEqualTo(String value) {
            addCriterion("firstname <>", value, "firstname");
            return (Criteria) this;
        }

        public Criteria andFirstnameGreaterThan(String value) {
            addCriterion("firstname >", value, "firstname");
            return (Criteria) this;
        }

        public Criteria andFirstnameGreaterThanOrEqualTo(String value) {
            addCriterion("firstname >=", value, "firstname");
            return (Criteria) this;
        }

        public Criteria andFirstnameLessThan(String value) {
            addCriterion("firstname <", value, "firstname");
            return (Criteria) this;
        }

        public Criteria andFirstnameLessThanOrEqualTo(String value) {
            addCriterion("firstname <=", value, "firstname");
            return (Criteria) this;
        }

        public Criteria andFirstnameLike(String value) {
            addCriterion("firstname like", value, "firstname");
            return (Criteria) this;
        }

        public Criteria andFirstnameNotLike(String value) {
            addCriterion("firstname not like", value, "firstname");
            return (Criteria) this;
        }

        public Criteria andFirstnameIn(List<String> values) {
            addCriterion("firstname in", values, "firstname");
            return (Criteria) this;
        }

        public Criteria andFirstnameNotIn(List<String> values) {
            addCriterion("firstname not in", values, "firstname");
            return (Criteria) this;
        }

        public Criteria andFirstnameBetween(String value1, String value2) {
            addCriterion("firstname between", value1, value2, "firstname");
            return (Criteria) this;
        }

        public Criteria andFirstnameNotBetween(String value1, String value2) {
            addCriterion("firstname not between", value1, value2, "firstname");
            return (Criteria) this;
        }

        public Criteria andMiddlenameIsNull() {
            addCriterion("middlename is null");
            return (Criteria) this;
        }

        public Criteria andMiddlenameIsNotNull() {
            addCriterion("middlename is not null");
            return (Criteria) this;
        }

        public Criteria andMiddlenameEqualTo(String value) {
            addCriterion("middlename =", value, "middlename");
            return (Criteria) this;
        }

        public Criteria andMiddlenameNotEqualTo(String value) {
            addCriterion("middlename <>", value, "middlename");
            return (Criteria) this;
        }

        public Criteria andMiddlenameGreaterThan(String value) {
            addCriterion("middlename >", value, "middlename");
            return (Criteria) this;
        }

        public Criteria andMiddlenameGreaterThanOrEqualTo(String value) {
            addCriterion("middlename >=", value, "middlename");
            return (Criteria) this;
        }

        public Criteria andMiddlenameLessThan(String value) {
            addCriterion("middlename <", value, "middlename");
            return (Criteria) this;
        }

        public Criteria andMiddlenameLessThanOrEqualTo(String value) {
            addCriterion("middlename <=", value, "middlename");
            return (Criteria) this;
        }

        public Criteria andMiddlenameLike(String value) {
            addCriterion("middlename like", value, "middlename");
            return (Criteria) this;
        }

        public Criteria andMiddlenameNotLike(String value) {
            addCriterion("middlename not like", value, "middlename");
            return (Criteria) this;
        }

        public Criteria andMiddlenameIn(List<String> values) {
            addCriterion("middlename in", values, "middlename");
            return (Criteria) this;
        }

        public Criteria andMiddlenameNotIn(List<String> values) {
            addCriterion("middlename not in", values, "middlename");
            return (Criteria) this;
        }

        public Criteria andMiddlenameBetween(String value1, String value2) {
            addCriterion("middlename between", value1, value2, "middlename");
            return (Criteria) this;
        }

        public Criteria andMiddlenameNotBetween(String value1, String value2) {
            addCriterion("middlename not between", value1, value2, "middlename");
            return (Criteria) this;
        }

        public Criteria andLastnameIsNull() {
            addCriterion("lastname is null");
            return (Criteria) this;
        }

        public Criteria andLastnameIsNotNull() {
            addCriterion("lastname is not null");
            return (Criteria) this;
        }

        public Criteria andLastnameEqualTo(String value) {
            addCriterion("lastname =", value, "lastname");
            return (Criteria) this;
        }

        public Criteria andLastnameNotEqualTo(String value) {
            addCriterion("lastname <>", value, "lastname");
            return (Criteria) this;
        }

        public Criteria andLastnameGreaterThan(String value) {
            addCriterion("lastname >", value, "lastname");
            return (Criteria) this;
        }

        public Criteria andLastnameGreaterThanOrEqualTo(String value) {
            addCriterion("lastname >=", value, "lastname");
            return (Criteria) this;
        }

        public Criteria andLastnameLessThan(String value) {
            addCriterion("lastname <", value, "lastname");
            return (Criteria) this;
        }

        public Criteria andLastnameLessThanOrEqualTo(String value) {
            addCriterion("lastname <=", value, "lastname");
            return (Criteria) this;
        }

        public Criteria andLastnameLike(String value) {
            addCriterion("lastname like", value, "lastname");
            return (Criteria) this;
        }

        public Criteria andLastnameNotLike(String value) {
            addCriterion("lastname not like", value, "lastname");
            return (Criteria) this;
        }

        public Criteria andLastnameIn(List<String> values) {
            addCriterion("lastname in", values, "lastname");
            return (Criteria) this;
        }

        public Criteria andLastnameNotIn(List<String> values) {
            addCriterion("lastname not in", values, "lastname");
            return (Criteria) this;
        }

        public Criteria andLastnameBetween(String value1, String value2) {
            addCriterion("lastname between", value1, value2, "lastname");
            return (Criteria) this;
        }

        public Criteria andLastnameNotBetween(String value1, String value2) {
            addCriterion("lastname not between", value1, value2, "lastname");
            return (Criteria) this;
        }

        public Criteria andNicknameIsNull() {
            addCriterion("nickname is null");
            return (Criteria) this;
        }

        public Criteria andNicknameIsNotNull() {
            addCriterion("nickname is not null");
            return (Criteria) this;
        }

        public Criteria andNicknameEqualTo(String value) {
            addCriterion("nickname =", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameNotEqualTo(String value) {
            addCriterion("nickname <>", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameGreaterThan(String value) {
            addCriterion("nickname >", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameGreaterThanOrEqualTo(String value) {
            addCriterion("nickname >=", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameLessThan(String value) {
            addCriterion("nickname <", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameLessThanOrEqualTo(String value) {
            addCriterion("nickname <=", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameLike(String value) {
            addCriterion("nickname like", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameNotLike(String value) {
            addCriterion("nickname not like", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameIn(List<String> values) {
            addCriterion("nickname in", values, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameNotIn(List<String> values) {
            addCriterion("nickname not in", values, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameBetween(String value1, String value2) {
            addCriterion("nickname between", value1, value2, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameNotBetween(String value1, String value2) {
            addCriterion("nickname not between", value1, value2, "nickname");
            return (Criteria) this;
        }

        public Criteria andDateofbirthIsNull() {
            addCriterion("dateofbirth is null");
            return (Criteria) this;
        }

        public Criteria andDateofbirthIsNotNull() {
            addCriterion("dateofbirth is not null");
            return (Criteria) this;
        }

        public Criteria andDateofbirthEqualTo(Date value) {
            addCriterion("dateofbirth =", value, "dateofbirth");
            return (Criteria) this;
        }

        public Criteria andDateofbirthNotEqualTo(Date value) {
            addCriterion("dateofbirth <>", value, "dateofbirth");
            return (Criteria) this;
        }

        public Criteria andDateofbirthGreaterThan(Date value) {
            addCriterion("dateofbirth >", value, "dateofbirth");
            return (Criteria) this;
        }

        public Criteria andDateofbirthGreaterThanOrEqualTo(Date value) {
            addCriterion("dateofbirth >=", value, "dateofbirth");
            return (Criteria) this;
        }

        public Criteria andDateofbirthLessThan(Date value) {
            addCriterion("dateofbirth <", value, "dateofbirth");
            return (Criteria) this;
        }

        public Criteria andDateofbirthLessThanOrEqualTo(Date value) {
            addCriterion("dateofbirth <=", value, "dateofbirth");
            return (Criteria) this;
        }

        public Criteria andDateofbirthIn(List<Date> values) {
            addCriterion("dateofbirth in", values, "dateofbirth");
            return (Criteria) this;
        }

        public Criteria andDateofbirthNotIn(List<Date> values) {
            addCriterion("dateofbirth not in", values, "dateofbirth");
            return (Criteria) this;
        }

        public Criteria andDateofbirthBetween(Date value1, Date value2) {
            addCriterion("dateofbirth between", value1, value2, "dateofbirth");
            return (Criteria) this;
        }

        public Criteria andDateofbirthNotBetween(Date value1, Date value2) {
            addCriterion("dateofbirth not between", value1, value2, "dateofbirth");
            return (Criteria) this;
        }

        public Criteria andPasswordIsNull() {
            addCriterion("password is null");
            return (Criteria) this;
        }

        public Criteria andPasswordIsNotNull() {
            addCriterion("password is not null");
            return (Criteria) this;
        }

        public Criteria andPasswordEqualTo(String value) {
            addCriterion("password =", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotEqualTo(String value) {
            addCriterion("password <>", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordGreaterThan(String value) {
            addCriterion("password >", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordGreaterThanOrEqualTo(String value) {
            addCriterion("password >=", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLessThan(String value) {
            addCriterion("password <", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLessThanOrEqualTo(String value) {
            addCriterion("password <=", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLike(String value) {
            addCriterion("password like", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotLike(String value) {
            addCriterion("password not like", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordIn(List<String> values) {
            addCriterion("password in", values, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotIn(List<String> values) {
            addCriterion("password not in", values, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordBetween(String value1, String value2) {
            addCriterion("password between", value1, value2, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotBetween(String value1, String value2) {
            addCriterion("password not between", value1, value2, "password");
            return (Criteria) this;
        }

        public Criteria andEmailIsNull() {
            addCriterion("email is null");
            return (Criteria) this;
        }

        public Criteria andEmailIsNotNull() {
            addCriterion("email is not null");
            return (Criteria) this;
        }

        public Criteria andEmailEqualTo(String value) {
            addCriterion("email =", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotEqualTo(String value) {
            addCriterion("email <>", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailGreaterThan(String value) {
            addCriterion("email >", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailGreaterThanOrEqualTo(String value) {
            addCriterion("email >=", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLessThan(String value) {
            addCriterion("email <", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLessThanOrEqualTo(String value) {
            addCriterion("email <=", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLike(String value) {
            addCriterion("email like", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotLike(String value) {
            addCriterion("email not like", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailIn(List<String> values) {
            addCriterion("email in", values, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotIn(List<String> values) {
            addCriterion("email not in", values, "email");
            return (Criteria) this;
        }

        public Criteria andEmailBetween(String value1, String value2) {
            addCriterion("email between", value1, value2, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotBetween(String value1, String value2) {
            addCriterion("email not between", value1, value2, "email");
            return (Criteria) this;
        }

        public Criteria andWebsiteIsNull() {
            addCriterion("website is null");
            return (Criteria) this;
        }

        public Criteria andWebsiteIsNotNull() {
            addCriterion("website is not null");
            return (Criteria) this;
        }

        public Criteria andWebsiteEqualTo(String value) {
            addCriterion("website =", value, "website");
            return (Criteria) this;
        }

        public Criteria andWebsiteNotEqualTo(String value) {
            addCriterion("website <>", value, "website");
            return (Criteria) this;
        }

        public Criteria andWebsiteGreaterThan(String value) {
            addCriterion("website >", value, "website");
            return (Criteria) this;
        }

        public Criteria andWebsiteGreaterThanOrEqualTo(String value) {
            addCriterion("website >=", value, "website");
            return (Criteria) this;
        }

        public Criteria andWebsiteLessThan(String value) {
            addCriterion("website <", value, "website");
            return (Criteria) this;
        }

        public Criteria andWebsiteLessThanOrEqualTo(String value) {
            addCriterion("website <=", value, "website");
            return (Criteria) this;
        }

        public Criteria andWebsiteLike(String value) {
            addCriterion("website like", value, "website");
            return (Criteria) this;
        }

        public Criteria andWebsiteNotLike(String value) {
            addCriterion("website not like", value, "website");
            return (Criteria) this;
        }

        public Criteria andWebsiteIn(List<String> values) {
            addCriterion("website in", values, "website");
            return (Criteria) this;
        }

        public Criteria andWebsiteNotIn(List<String> values) {
            addCriterion("website not in", values, "website");
            return (Criteria) this;
        }

        public Criteria andWebsiteBetween(String value1, String value2) {
            addCriterion("website between", value1, value2, "website");
            return (Criteria) this;
        }

        public Criteria andWebsiteNotBetween(String value1, String value2) {
            addCriterion("website not between", value1, value2, "website");
            return (Criteria) this;
        }

        public Criteria andRegisteredtimeIsNull() {
            addCriterion("registeredTime is null");
            return (Criteria) this;
        }

        public Criteria andRegisteredtimeIsNotNull() {
            addCriterion("registeredTime is not null");
            return (Criteria) this;
        }

        public Criteria andRegisteredtimeEqualTo(Date value) {
            addCriterion("registeredTime =", value, "registeredtime");
            return (Criteria) this;
        }

        public Criteria andRegisteredtimeNotEqualTo(Date value) {
            addCriterion("registeredTime <>", value, "registeredtime");
            return (Criteria) this;
        }

        public Criteria andRegisteredtimeGreaterThan(Date value) {
            addCriterion("registeredTime >", value, "registeredtime");
            return (Criteria) this;
        }

        public Criteria andRegisteredtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("registeredTime >=", value, "registeredtime");
            return (Criteria) this;
        }

        public Criteria andRegisteredtimeLessThan(Date value) {
            addCriterion("registeredTime <", value, "registeredtime");
            return (Criteria) this;
        }

        public Criteria andRegisteredtimeLessThanOrEqualTo(Date value) {
            addCriterion("registeredTime <=", value, "registeredtime");
            return (Criteria) this;
        }

        public Criteria andRegisteredtimeIn(List<Date> values) {
            addCriterion("registeredTime in", values, "registeredtime");
            return (Criteria) this;
        }

        public Criteria andRegisteredtimeNotIn(List<Date> values) {
            addCriterion("registeredTime not in", values, "registeredtime");
            return (Criteria) this;
        }

        public Criteria andRegisteredtimeBetween(Date value1, Date value2) {
            addCriterion("registeredTime between", value1, value2, "registeredtime");
            return (Criteria) this;
        }

        public Criteria andRegisteredtimeNotBetween(Date value1, Date value2) {
            addCriterion("registeredTime not between", value1, value2, "registeredtime");
            return (Criteria) this;
        }

        public Criteria andLastaccessedtimeIsNull() {
            addCriterion("lastAccessedTime is null");
            return (Criteria) this;
        }

        public Criteria andLastaccessedtimeIsNotNull() {
            addCriterion("lastAccessedTime is not null");
            return (Criteria) this;
        }

        public Criteria andLastaccessedtimeEqualTo(Date value) {
            addCriterion("lastAccessedTime =", value, "lastaccessedtime");
            return (Criteria) this;
        }

        public Criteria andLastaccessedtimeNotEqualTo(Date value) {
            addCriterion("lastAccessedTime <>", value, "lastaccessedtime");
            return (Criteria) this;
        }

        public Criteria andLastaccessedtimeGreaterThan(Date value) {
            addCriterion("lastAccessedTime >", value, "lastaccessedtime");
            return (Criteria) this;
        }

        public Criteria andLastaccessedtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("lastAccessedTime >=", value, "lastaccessedtime");
            return (Criteria) this;
        }

        public Criteria andLastaccessedtimeLessThan(Date value) {
            addCriterion("lastAccessedTime <", value, "lastaccessedtime");
            return (Criteria) this;
        }

        public Criteria andLastaccessedtimeLessThanOrEqualTo(Date value) {
            addCriterion("lastAccessedTime <=", value, "lastaccessedtime");
            return (Criteria) this;
        }

        public Criteria andLastaccessedtimeIn(List<Date> values) {
            addCriterion("lastAccessedTime in", values, "lastaccessedtime");
            return (Criteria) this;
        }

        public Criteria andLastaccessedtimeNotIn(List<Date> values) {
            addCriterion("lastAccessedTime not in", values, "lastaccessedtime");
            return (Criteria) this;
        }

        public Criteria andLastaccessedtimeBetween(Date value1, Date value2) {
            addCriterion("lastAccessedTime between", value1, value2, "lastaccessedtime");
            return (Criteria) this;
        }

        public Criteria andLastaccessedtimeNotBetween(Date value1, Date value2) {
            addCriterion("lastAccessedTime not between", value1, value2, "lastaccessedtime");
            return (Criteria) this;
        }

        public Criteria andCompanyIsNull() {
            addCriterion("company is null");
            return (Criteria) this;
        }

        public Criteria andCompanyIsNotNull() {
            addCriterion("company is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyEqualTo(String value) {
            addCriterion("company =", value, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyNotEqualTo(String value) {
            addCriterion("company <>", value, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyGreaterThan(String value) {
            addCriterion("company >", value, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyGreaterThanOrEqualTo(String value) {
            addCriterion("company >=", value, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyLessThan(String value) {
            addCriterion("company <", value, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyLessThanOrEqualTo(String value) {
            addCriterion("company <=", value, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyLike(String value) {
            addCriterion("company like", value, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyNotLike(String value) {
            addCriterion("company not like", value, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyIn(List<String> values) {
            addCriterion("company in", values, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyNotIn(List<String> values) {
            addCriterion("company not in", values, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyBetween(String value1, String value2) {
            addCriterion("company between", value1, value2, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyNotBetween(String value1, String value2) {
            addCriterion("company not between", value1, value2, "company");
            return (Criteria) this;
        }

        public Criteria andTimezoneIsNull() {
            addCriterion("timezone is null");
            return (Criteria) this;
        }

        public Criteria andTimezoneIsNotNull() {
            addCriterion("timezone is not null");
            return (Criteria) this;
        }

        public Criteria andTimezoneEqualTo(String value) {
            addCriterion("timezone =", value, "timezone");
            return (Criteria) this;
        }

        public Criteria andTimezoneNotEqualTo(String value) {
            addCriterion("timezone <>", value, "timezone");
            return (Criteria) this;
        }

        public Criteria andTimezoneGreaterThan(String value) {
            addCriterion("timezone >", value, "timezone");
            return (Criteria) this;
        }

        public Criteria andTimezoneGreaterThanOrEqualTo(String value) {
            addCriterion("timezone >=", value, "timezone");
            return (Criteria) this;
        }

        public Criteria andTimezoneLessThan(String value) {
            addCriterion("timezone <", value, "timezone");
            return (Criteria) this;
        }

        public Criteria andTimezoneLessThanOrEqualTo(String value) {
            addCriterion("timezone <=", value, "timezone");
            return (Criteria) this;
        }

        public Criteria andTimezoneLike(String value) {
            addCriterion("timezone like", value, "timezone");
            return (Criteria) this;
        }

        public Criteria andTimezoneNotLike(String value) {
            addCriterion("timezone not like", value, "timezone");
            return (Criteria) this;
        }

        public Criteria andTimezoneIn(List<String> values) {
            addCriterion("timezone in", values, "timezone");
            return (Criteria) this;
        }

        public Criteria andTimezoneNotIn(List<String> values) {
            addCriterion("timezone not in", values, "timezone");
            return (Criteria) this;
        }

        public Criteria andTimezoneBetween(String value1, String value2) {
            addCriterion("timezone between", value1, value2, "timezone");
            return (Criteria) this;
        }

        public Criteria andTimezoneNotBetween(String value1, String value2) {
            addCriterion("timezone not between", value1, value2, "timezone");
            return (Criteria) this;
        }

        public Criteria andLanguageIsNull() {
            addCriterion("language is null");
            return (Criteria) this;
        }

        public Criteria andLanguageIsNotNull() {
            addCriterion("language is not null");
            return (Criteria) this;
        }

        public Criteria andLanguageEqualTo(String value) {
            addCriterion("language =", value, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageNotEqualTo(String value) {
            addCriterion("language <>", value, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageGreaterThan(String value) {
            addCriterion("language >", value, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageGreaterThanOrEqualTo(String value) {
            addCriterion("language >=", value, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageLessThan(String value) {
            addCriterion("language <", value, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageLessThanOrEqualTo(String value) {
            addCriterion("language <=", value, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageLike(String value) {
            addCriterion("language like", value, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageNotLike(String value) {
            addCriterion("language not like", value, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageIn(List<String> values) {
            addCriterion("language in", values, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageNotIn(List<String> values) {
            addCriterion("language not in", values, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageBetween(String value1, String value2) {
            addCriterion("language between", value1, value2, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageNotBetween(String value1, String value2) {
            addCriterion("language not between", value1, value2, "language");
            return (Criteria) this;
        }

        public Criteria andCountryIsNull() {
            addCriterion("country is null");
            return (Criteria) this;
        }

        public Criteria andCountryIsNotNull() {
            addCriterion("country is not null");
            return (Criteria) this;
        }

        public Criteria andCountryEqualTo(String value) {
            addCriterion("country =", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotEqualTo(String value) {
            addCriterion("country <>", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryGreaterThan(String value) {
            addCriterion("country >", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryGreaterThanOrEqualTo(String value) {
            addCriterion("country >=", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryLessThan(String value) {
            addCriterion("country <", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryLessThanOrEqualTo(String value) {
            addCriterion("country <=", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryLike(String value) {
            addCriterion("country like", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotLike(String value) {
            addCriterion("country not like", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryIn(List<String> values) {
            addCriterion("country in", values, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotIn(List<String> values) {
            addCriterion("country not in", values, "country");
            return (Criteria) this;
        }

        public Criteria andCountryBetween(String value1, String value2) {
            addCriterion("country between", value1, value2, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotBetween(String value1, String value2) {
            addCriterion("country not between", value1, value2, "country");
            return (Criteria) this;
        }

        public Criteria andWorkphoneIsNull() {
            addCriterion("workPhone is null");
            return (Criteria) this;
        }

        public Criteria andWorkphoneIsNotNull() {
            addCriterion("workPhone is not null");
            return (Criteria) this;
        }

        public Criteria andWorkphoneEqualTo(String value) {
            addCriterion("workPhone =", value, "workphone");
            return (Criteria) this;
        }

        public Criteria andWorkphoneNotEqualTo(String value) {
            addCriterion("workPhone <>", value, "workphone");
            return (Criteria) this;
        }

        public Criteria andWorkphoneGreaterThan(String value) {
            addCriterion("workPhone >", value, "workphone");
            return (Criteria) this;
        }

        public Criteria andWorkphoneGreaterThanOrEqualTo(String value) {
            addCriterion("workPhone >=", value, "workphone");
            return (Criteria) this;
        }

        public Criteria andWorkphoneLessThan(String value) {
            addCriterion("workPhone <", value, "workphone");
            return (Criteria) this;
        }

        public Criteria andWorkphoneLessThanOrEqualTo(String value) {
            addCriterion("workPhone <=", value, "workphone");
            return (Criteria) this;
        }

        public Criteria andWorkphoneLike(String value) {
            addCriterion("workPhone like", value, "workphone");
            return (Criteria) this;
        }

        public Criteria andWorkphoneNotLike(String value) {
            addCriterion("workPhone not like", value, "workphone");
            return (Criteria) this;
        }

        public Criteria andWorkphoneIn(List<String> values) {
            addCriterion("workPhone in", values, "workphone");
            return (Criteria) this;
        }

        public Criteria andWorkphoneNotIn(List<String> values) {
            addCriterion("workPhone not in", values, "workphone");
            return (Criteria) this;
        }

        public Criteria andWorkphoneBetween(String value1, String value2) {
            addCriterion("workPhone between", value1, value2, "workphone");
            return (Criteria) this;
        }

        public Criteria andWorkphoneNotBetween(String value1, String value2) {
            addCriterion("workPhone not between", value1, value2, "workphone");
            return (Criteria) this;
        }

        public Criteria andHomephoneIsNull() {
            addCriterion("homePhone is null");
            return (Criteria) this;
        }

        public Criteria andHomephoneIsNotNull() {
            addCriterion("homePhone is not null");
            return (Criteria) this;
        }

        public Criteria andHomephoneEqualTo(String value) {
            addCriterion("homePhone =", value, "homephone");
            return (Criteria) this;
        }

        public Criteria andHomephoneNotEqualTo(String value) {
            addCriterion("homePhone <>", value, "homephone");
            return (Criteria) this;
        }

        public Criteria andHomephoneGreaterThan(String value) {
            addCriterion("homePhone >", value, "homephone");
            return (Criteria) this;
        }

        public Criteria andHomephoneGreaterThanOrEqualTo(String value) {
            addCriterion("homePhone >=", value, "homephone");
            return (Criteria) this;
        }

        public Criteria andHomephoneLessThan(String value) {
            addCriterion("homePhone <", value, "homephone");
            return (Criteria) this;
        }

        public Criteria andHomephoneLessThanOrEqualTo(String value) {
            addCriterion("homePhone <=", value, "homephone");
            return (Criteria) this;
        }

        public Criteria andHomephoneLike(String value) {
            addCriterion("homePhone like", value, "homephone");
            return (Criteria) this;
        }

        public Criteria andHomephoneNotLike(String value) {
            addCriterion("homePhone not like", value, "homephone");
            return (Criteria) this;
        }

        public Criteria andHomephoneIn(List<String> values) {
            addCriterion("homePhone in", values, "homephone");
            return (Criteria) this;
        }

        public Criteria andHomephoneNotIn(List<String> values) {
            addCriterion("homePhone not in", values, "homephone");
            return (Criteria) this;
        }

        public Criteria andHomephoneBetween(String value1, String value2) {
            addCriterion("homePhone between", value1, value2, "homephone");
            return (Criteria) this;
        }

        public Criteria andHomephoneNotBetween(String value1, String value2) {
            addCriterion("homePhone not between", value1, value2, "homephone");
            return (Criteria) this;
        }

        public Criteria andFacebookaccountIsNull() {
            addCriterion("facebookAccount is null");
            return (Criteria) this;
        }

        public Criteria andFacebookaccountIsNotNull() {
            addCriterion("facebookAccount is not null");
            return (Criteria) this;
        }

        public Criteria andFacebookaccountEqualTo(String value) {
            addCriterion("facebookAccount =", value, "facebookaccount");
            return (Criteria) this;
        }

        public Criteria andFacebookaccountNotEqualTo(String value) {
            addCriterion("facebookAccount <>", value, "facebookaccount");
            return (Criteria) this;
        }

        public Criteria andFacebookaccountGreaterThan(String value) {
            addCriterion("facebookAccount >", value, "facebookaccount");
            return (Criteria) this;
        }

        public Criteria andFacebookaccountGreaterThanOrEqualTo(String value) {
            addCriterion("facebookAccount >=", value, "facebookaccount");
            return (Criteria) this;
        }

        public Criteria andFacebookaccountLessThan(String value) {
            addCriterion("facebookAccount <", value, "facebookaccount");
            return (Criteria) this;
        }

        public Criteria andFacebookaccountLessThanOrEqualTo(String value) {
            addCriterion("facebookAccount <=", value, "facebookaccount");
            return (Criteria) this;
        }

        public Criteria andFacebookaccountLike(String value) {
            addCriterion("facebookAccount like", value, "facebookaccount");
            return (Criteria) this;
        }

        public Criteria andFacebookaccountNotLike(String value) {
            addCriterion("facebookAccount not like", value, "facebookaccount");
            return (Criteria) this;
        }

        public Criteria andFacebookaccountIn(List<String> values) {
            addCriterion("facebookAccount in", values, "facebookaccount");
            return (Criteria) this;
        }

        public Criteria andFacebookaccountNotIn(List<String> values) {
            addCriterion("facebookAccount not in", values, "facebookaccount");
            return (Criteria) this;
        }

        public Criteria andFacebookaccountBetween(String value1, String value2) {
            addCriterion("facebookAccount between", value1, value2, "facebookaccount");
            return (Criteria) this;
        }

        public Criteria andFacebookaccountNotBetween(String value1, String value2) {
            addCriterion("facebookAccount not between", value1, value2, "facebookaccount");
            return (Criteria) this;
        }

        public Criteria andTwitteraccountIsNull() {
            addCriterion("twitterAccount is null");
            return (Criteria) this;
        }

        public Criteria andTwitteraccountIsNotNull() {
            addCriterion("twitterAccount is not null");
            return (Criteria) this;
        }

        public Criteria andTwitteraccountEqualTo(String value) {
            addCriterion("twitterAccount =", value, "twitteraccount");
            return (Criteria) this;
        }

        public Criteria andTwitteraccountNotEqualTo(String value) {
            addCriterion("twitterAccount <>", value, "twitteraccount");
            return (Criteria) this;
        }

        public Criteria andTwitteraccountGreaterThan(String value) {
            addCriterion("twitterAccount >", value, "twitteraccount");
            return (Criteria) this;
        }

        public Criteria andTwitteraccountGreaterThanOrEqualTo(String value) {
            addCriterion("twitterAccount >=", value, "twitteraccount");
            return (Criteria) this;
        }

        public Criteria andTwitteraccountLessThan(String value) {
            addCriterion("twitterAccount <", value, "twitteraccount");
            return (Criteria) this;
        }

        public Criteria andTwitteraccountLessThanOrEqualTo(String value) {
            addCriterion("twitterAccount <=", value, "twitteraccount");
            return (Criteria) this;
        }

        public Criteria andTwitteraccountLike(String value) {
            addCriterion("twitterAccount like", value, "twitteraccount");
            return (Criteria) this;
        }

        public Criteria andTwitteraccountNotLike(String value) {
            addCriterion("twitterAccount not like", value, "twitteraccount");
            return (Criteria) this;
        }

        public Criteria andTwitteraccountIn(List<String> values) {
            addCriterion("twitterAccount in", values, "twitteraccount");
            return (Criteria) this;
        }

        public Criteria andTwitteraccountNotIn(List<String> values) {
            addCriterion("twitterAccount not in", values, "twitteraccount");
            return (Criteria) this;
        }

        public Criteria andTwitteraccountBetween(String value1, String value2) {
            addCriterion("twitterAccount between", value1, value2, "twitteraccount");
            return (Criteria) this;
        }

        public Criteria andTwitteraccountNotBetween(String value1, String value2) {
            addCriterion("twitterAccount not between", value1, value2, "twitteraccount");
            return (Criteria) this;
        }

        public Criteria andSkypecontactIsNull() {
            addCriterion("skypeContact is null");
            return (Criteria) this;
        }

        public Criteria andSkypecontactIsNotNull() {
            addCriterion("skypeContact is not null");
            return (Criteria) this;
        }

        public Criteria andSkypecontactEqualTo(String value) {
            addCriterion("skypeContact =", value, "skypecontact");
            return (Criteria) this;
        }

        public Criteria andSkypecontactNotEqualTo(String value) {
            addCriterion("skypeContact <>", value, "skypecontact");
            return (Criteria) this;
        }

        public Criteria andSkypecontactGreaterThan(String value) {
            addCriterion("skypeContact >", value, "skypecontact");
            return (Criteria) this;
        }

        public Criteria andSkypecontactGreaterThanOrEqualTo(String value) {
            addCriterion("skypeContact >=", value, "skypecontact");
            return (Criteria) this;
        }

        public Criteria andSkypecontactLessThan(String value) {
            addCriterion("skypeContact <", value, "skypecontact");
            return (Criteria) this;
        }

        public Criteria andSkypecontactLessThanOrEqualTo(String value) {
            addCriterion("skypeContact <=", value, "skypecontact");
            return (Criteria) this;
        }

        public Criteria andSkypecontactLike(String value) {
            addCriterion("skypeContact like", value, "skypecontact");
            return (Criteria) this;
        }

        public Criteria andSkypecontactNotLike(String value) {
            addCriterion("skypeContact not like", value, "skypecontact");
            return (Criteria) this;
        }

        public Criteria andSkypecontactIn(List<String> values) {
            addCriterion("skypeContact in", values, "skypecontact");
            return (Criteria) this;
        }

        public Criteria andSkypecontactNotIn(List<String> values) {
            addCriterion("skypeContact not in", values, "skypecontact");
            return (Criteria) this;
        }

        public Criteria andSkypecontactBetween(String value1, String value2) {
            addCriterion("skypeContact between", value1, value2, "skypecontact");
            return (Criteria) this;
        }

        public Criteria andSkypecontactNotBetween(String value1, String value2) {
            addCriterion("skypeContact not between", value1, value2, "skypecontact");
            return (Criteria) this;
        }

        public Criteria andAvataridIsNull() {
            addCriterion("avatarId is null");
            return (Criteria) this;
        }

        public Criteria andAvataridIsNotNull() {
            addCriterion("avatarId is not null");
            return (Criteria) this;
        }

        public Criteria andAvataridEqualTo(String value) {
            addCriterion("avatarId =", value, "avatarid");
            return (Criteria) this;
        }

        public Criteria andAvataridNotEqualTo(String value) {
            addCriterion("avatarId <>", value, "avatarid");
            return (Criteria) this;
        }

        public Criteria andAvataridGreaterThan(String value) {
            addCriterion("avatarId >", value, "avatarid");
            return (Criteria) this;
        }

        public Criteria andAvataridGreaterThanOrEqualTo(String value) {
            addCriterion("avatarId >=", value, "avatarid");
            return (Criteria) this;
        }

        public Criteria andAvataridLessThan(String value) {
            addCriterion("avatarId <", value, "avatarid");
            return (Criteria) this;
        }

        public Criteria andAvataridLessThanOrEqualTo(String value) {
            addCriterion("avatarId <=", value, "avatarid");
            return (Criteria) this;
        }

        public Criteria andAvataridLike(String value) {
            addCriterion("avatarId like", value, "avatarid");
            return (Criteria) this;
        }

        public Criteria andAvataridNotLike(String value) {
            addCriterion("avatarId not like", value, "avatarid");
            return (Criteria) this;
        }

        public Criteria andAvataridIn(List<String> values) {
            addCriterion("avatarId in", values, "avatarid");
            return (Criteria) this;
        }

        public Criteria andAvataridNotIn(List<String> values) {
            addCriterion("avatarId not in", values, "avatarid");
            return (Criteria) this;
        }

        public Criteria andAvataridBetween(String value1, String value2) {
            addCriterion("avatarId between", value1, value2, "avatarid");
            return (Criteria) this;
        }

        public Criteria andAvataridNotBetween(String value1, String value2) {
            addCriterion("avatarId not between", value1, value2, "avatarid");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andRequestadIsNull() {
            addCriterion("requestAd is null");
            return (Criteria) this;
        }

        public Criteria andRequestadIsNotNull() {
            addCriterion("requestAd is not null");
            return (Criteria) this;
        }

        public Criteria andRequestadEqualTo(Boolean value) {
            addCriterion("requestAd =", value, "requestad");
            return (Criteria) this;
        }

        public Criteria andRequestadNotEqualTo(Boolean value) {
            addCriterion("requestAd <>", value, "requestad");
            return (Criteria) this;
        }

        public Criteria andRequestadGreaterThan(Boolean value) {
            addCriterion("requestAd >", value, "requestad");
            return (Criteria) this;
        }

        public Criteria andRequestadGreaterThanOrEqualTo(Boolean value) {
            addCriterion("requestAd >=", value, "requestad");
            return (Criteria) this;
        }

        public Criteria andRequestadLessThan(Boolean value) {
            addCriterion("requestAd <", value, "requestad");
            return (Criteria) this;
        }

        public Criteria andRequestadLessThanOrEqualTo(Boolean value) {
            addCriterion("requestAd <=", value, "requestad");
            return (Criteria) this;
        }

        public Criteria andRequestadIn(List<Boolean> values) {
            addCriterion("requestAd in", values, "requestad");
            return (Criteria) this;
        }

        public Criteria andRequestadNotIn(List<Boolean> values) {
            addCriterion("requestAd not in", values, "requestad");
            return (Criteria) this;
        }

        public Criteria andRequestadBetween(Boolean value1, Boolean value2) {
            addCriterion("requestAd between", value1, value2, "requestad");
            return (Criteria) this;
        }

        public Criteria andRequestadNotBetween(Boolean value1, Boolean value2) {
            addCriterion("requestAd not between", value1, value2, "requestad");
            return (Criteria) this;
        }

        public Criteria andYymmddformatIsNull() {
            addCriterion("YYMMDDFormat is null");
            return (Criteria) this;
        }

        public Criteria andYymmddformatIsNotNull() {
            addCriterion("YYMMDDFormat is not null");
            return (Criteria) this;
        }

        public Criteria andYymmddformatEqualTo(String value) {
            addCriterion("YYMMDDFormat =", value, "yymmddformat");
            return (Criteria) this;
        }

        public Criteria andYymmddformatNotEqualTo(String value) {
            addCriterion("YYMMDDFormat <>", value, "yymmddformat");
            return (Criteria) this;
        }

        public Criteria andYymmddformatGreaterThan(String value) {
            addCriterion("YYMMDDFormat >", value, "yymmddformat");
            return (Criteria) this;
        }

        public Criteria andYymmddformatGreaterThanOrEqualTo(String value) {
            addCriterion("YYMMDDFormat >=", value, "yymmddformat");
            return (Criteria) this;
        }

        public Criteria andYymmddformatLessThan(String value) {
            addCriterion("YYMMDDFormat <", value, "yymmddformat");
            return (Criteria) this;
        }

        public Criteria andYymmddformatLessThanOrEqualTo(String value) {
            addCriterion("YYMMDDFormat <=", value, "yymmddformat");
            return (Criteria) this;
        }

        public Criteria andYymmddformatLike(String value) {
            addCriterion("YYMMDDFormat like", value, "yymmddformat");
            return (Criteria) this;
        }

        public Criteria andYymmddformatNotLike(String value) {
            addCriterion("YYMMDDFormat not like", value, "yymmddformat");
            return (Criteria) this;
        }

        public Criteria andYymmddformatIn(List<String> values) {
            addCriterion("YYMMDDFormat in", values, "yymmddformat");
            return (Criteria) this;
        }

        public Criteria andYymmddformatNotIn(List<String> values) {
            addCriterion("YYMMDDFormat not in", values, "yymmddformat");
            return (Criteria) this;
        }

        public Criteria andYymmddformatBetween(String value1, String value2) {
            addCriterion("YYMMDDFormat between", value1, value2, "yymmddformat");
            return (Criteria) this;
        }

        public Criteria andYymmddformatNotBetween(String value1, String value2) {
            addCriterion("YYMMDDFormat not between", value1, value2, "yymmddformat");
            return (Criteria) this;
        }

        public Criteria andHumandateformatIsNull() {
            addCriterion("humanDateFormat is null");
            return (Criteria) this;
        }

        public Criteria andHumandateformatIsNotNull() {
            addCriterion("humanDateFormat is not null");
            return (Criteria) this;
        }

        public Criteria andHumandateformatEqualTo(String value) {
            addCriterion("humanDateFormat =", value, "humandateformat");
            return (Criteria) this;
        }

        public Criteria andHumandateformatNotEqualTo(String value) {
            addCriterion("humanDateFormat <>", value, "humandateformat");
            return (Criteria) this;
        }

        public Criteria andHumandateformatGreaterThan(String value) {
            addCriterion("humanDateFormat >", value, "humandateformat");
            return (Criteria) this;
        }

        public Criteria andHumandateformatGreaterThanOrEqualTo(String value) {
            addCriterion("humanDateFormat >=", value, "humandateformat");
            return (Criteria) this;
        }

        public Criteria andHumandateformatLessThan(String value) {
            addCriterion("humanDateFormat <", value, "humandateformat");
            return (Criteria) this;
        }

        public Criteria andHumandateformatLessThanOrEqualTo(String value) {
            addCriterion("humanDateFormat <=", value, "humandateformat");
            return (Criteria) this;
        }

        public Criteria andHumandateformatLike(String value) {
            addCriterion("humanDateFormat like", value, "humandateformat");
            return (Criteria) this;
        }

        public Criteria andHumandateformatNotLike(String value) {
            addCriterion("humanDateFormat not like", value, "humandateformat");
            return (Criteria) this;
        }

        public Criteria andHumandateformatIn(List<String> values) {
            addCriterion("humanDateFormat in", values, "humandateformat");
            return (Criteria) this;
        }

        public Criteria andHumandateformatNotIn(List<String> values) {
            addCriterion("humanDateFormat not in", values, "humandateformat");
            return (Criteria) this;
        }

        public Criteria andHumandateformatBetween(String value1, String value2) {
            addCriterion("humanDateFormat between", value1, value2, "humandateformat");
            return (Criteria) this;
        }

        public Criteria andHumandateformatNotBetween(String value1, String value2) {
            addCriterion("humanDateFormat not between", value1, value2, "humandateformat");
            return (Criteria) this;
        }

        public Criteria andMmddformatIsNull() {
            addCriterion("MMDDFormat is null");
            return (Criteria) this;
        }

        public Criteria andMmddformatIsNotNull() {
            addCriterion("MMDDFormat is not null");
            return (Criteria) this;
        }

        public Criteria andMmddformatEqualTo(String value) {
            addCriterion("MMDDFormat =", value, "mmddformat");
            return (Criteria) this;
        }

        public Criteria andMmddformatNotEqualTo(String value) {
            addCriterion("MMDDFormat <>", value, "mmddformat");
            return (Criteria) this;
        }

        public Criteria andMmddformatGreaterThan(String value) {
            addCriterion("MMDDFormat >", value, "mmddformat");
            return (Criteria) this;
        }

        public Criteria andMmddformatGreaterThanOrEqualTo(String value) {
            addCriterion("MMDDFormat >=", value, "mmddformat");
            return (Criteria) this;
        }

        public Criteria andMmddformatLessThan(String value) {
            addCriterion("MMDDFormat <", value, "mmddformat");
            return (Criteria) this;
        }

        public Criteria andMmddformatLessThanOrEqualTo(String value) {
            addCriterion("MMDDFormat <=", value, "mmddformat");
            return (Criteria) this;
        }

        public Criteria andMmddformatLike(String value) {
            addCriterion("MMDDFormat like", value, "mmddformat");
            return (Criteria) this;
        }

        public Criteria andMmddformatNotLike(String value) {
            addCriterion("MMDDFormat not like", value, "mmddformat");
            return (Criteria) this;
        }

        public Criteria andMmddformatIn(List<String> values) {
            addCriterion("MMDDFormat in", values, "mmddformat");
            return (Criteria) this;
        }

        public Criteria andMmddformatNotIn(List<String> values) {
            addCriterion("MMDDFormat not in", values, "mmddformat");
            return (Criteria) this;
        }

        public Criteria andMmddformatBetween(String value1, String value2) {
            addCriterion("MMDDFormat between", value1, value2, "mmddformat");
            return (Criteria) this;
        }

        public Criteria andMmddformatNotBetween(String value1, String value2) {
            addCriterion("MMDDFormat not between", value1, value2, "mmddformat");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table s_user
     *
     * @mbg.generated do_not_delete_during_merge Sun Dec 25 21:29:52 ICT 2016
     */
    @SuppressWarnings("ucd")
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table s_user
     *
     * @mbg.generated Sun Dec 25 21:29:52 ICT 2016
     */
    @SuppressWarnings("ucd")
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}